<template>
  <el-card class="realindex" style="margin:15px; height:800px">
    <el-row class="action" type="flex" justify="center" align="middle" style="height:700px">
      <span>开始做</span>
      <el-input v-model="yearMouth" :placeholder="202005" size="mini" style="width:100px" />
      <span>社保</span>
      <el-button type="primary" size="mini">确定</el-button>
    </el-row>
  </el-card>
</template>

<script>
import { getSocialSettings } from '@/api/social'
export default {
  data() {
    return {
      yearMouth: 202005
    }
  },
  async created() {
    const res = await getSocialSettings()
    // console.log(res)
    this.yearMouth = res.dataMonth
    // console.log(this.yearMouth)
    setTimeout(() => {
      this.$router.push({ path: '/social/list', query: { yearMouth: this.yearMouth }})
    }, 500)
  }
}
</script>

<style>

</style>
